﻿using System;
using System.Collections.Generic;
using System.Text;

using FCNS.KeepMoney.Util;

namespace FCNS.KeepMoney.Configuration
{
   public class AceBill
    {
        int lastestbill =0;
        /// <summary>
        /// 获取或设置已生成的最新账单月份
        /// </summary>
        public int LatestBillingMonth
        {
            get { return lastestbill; }
            set { lastestbill = value; }
        }

        string bStyel = "Default.html";
        /// <summary>
        /// 获取或设置账单的样式名(例如:Default.html)
        /// </summary>
        public string BillStyle
        {
            get { return bStyel; }
            set { bStyel = value; }
        }

        BillsMode bMode = BillsMode.Month;
        /// <summary>
        /// 获取或设置账单的结算模式
        /// </summary>
        public BillsMode BillMode
        {
            get { return bMode; }
            set { bMode = value; }
        }

        int billDay = 31;
        /// <summary>
        /// 获取或设置账单日（用于生成结算账）
        /// </summary>
        public int BillDay
        {
            get { return billDay; }
            set { billDay = value; }
        }

        bool lockBill = true;
        /// <summary>
        /// 获取或设置是否禁止修改已生成账单的数据
        /// </summary>
        public bool LockBill
        {
            get { return lockBill; }
            set { lockBill = value; }
        }
    }
}
